import request from '../utils/request'

//获取评论
export function getCommentList(vid,page,page_size){
  return request.get('getComment?vid='+vid+'&page='+page+'&page_size='+page_size)
}

//评论回复
export function release({vid,text,lastId,replyUid,replyName}){
  return request.post('comment',{vid,text,lastId,replyUid,replyName})
}

//删除评论
export function deleteComment({id}){
  return request.post('comment/delete',{id})
}
